package com.hyx.bookManager.service.impl;

import com.hyx.bookManager.service.AsynService;
import org.springframework.stereotype.Service;

/**
 * @ClassName AsynServiceImpl
 * @Description TODO
 * @Author 黄乙轩
 * @Date 2021/6/28 16:58
 * @Version 1.0
 **/

@Service
public class AsynServiceImpl implements AsynService {
    @Override
    public String test(String msg) {
        System.out.println("test");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return msg;
    }
}
